package com.xzx.annotation.custom;

import com.xzx.annotation.bean.Person05;
import org.springframework.beans.factory.FactoryBean;

/**
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/4/17 20:07
 */
public class Person05FactoryBean implements FactoryBean<Person05> {
    @Override
    public Person05 getObject() throws Exception {
        return new Person05();
    }

    @Override
    public Class<?> getObjectType() {
        return Person05.class;
    }

    @Override
    public boolean isSingleton() {
        return true;
    }
}
